<?php

/**
 * Description of Session
 *
 * @author harriagada
 */
class Session {
    static function StartSession(){
        session_start();
    }
    
    static function FinishSession(){
        session_destroy();
    }
    
    function setName($var){
        $_SESSION[$var]=$var;
    }
    
    function getName($var){
        return $_SESSION[$var];
    }
    
    function DestroyName($var){
        unset($_SESSION[$var]);
    }
    
    function DestroyAllNames(){
        unset($_SESSION);
    }
}

?>
